package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author: 坚坚
 * @Description:
 * @DateTime: 2025/9/21 22:04
 **/
@Component
@Slf4j
public class alertJob {

    @Autowired
    private IAlertRuleService alertRuleService;

    /**
     * 设备数据上报过滤定时任务开始执行
     */
    public void deviceDataAlertFilter(){
        log.warn("设备数据上报过滤定时任务开始执行...");
        alertRuleService.alertFilter();
    }
}
